3.8 \(\int x^3 \log ^2(c x) \, dx\)

Optimal. Leaf size=32 \[ \frac {1}{4} x^4 \log ^2(c x)-\frac {1}{8} x^4 \log (c x)+\frac {x^4}{32} \]

[Out]

1/32*x^4-1/8*x^4*ln(c*x)+1/4*x^4*ln(c*x)^2

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {2305, 2304} \[ \frac {1}{4} x^4 \log ^2(c x)-\frac {1}{8} x^4 \log (c x)+\frac {x^4}{32} \]

Antiderivative was successfully verified.

[In]

Int[x^3*Log[c*x]^2,x]

[Out]

x^4/32 - (x^4*Log[c*x])/8 + (x^4*Log[c*x]^2)/4

Rule 2304

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*Log[c*x^
n]))/(d*(m + 1)), x] - Simp[(b*n*(d*x)^(m + 1))/(d*(m + 1)^2), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1
]

Rule 2305

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*Lo
g[c*x^n])^p)/(d*(m + 1)), x] - Dist[(b*n*p)/(m + 1), Int[(d*x)^m*(a + b*Log[c*x^n])^(p - 1), x], x] /; FreeQ[{
a, b, c, d, m, n}, x] && NeQ[m, -1] && GtQ[p, 0]

Rubi steps

\begin {align*} \int x^3 \log ^2(c x) \, dx &=\frac {1}{4} x^4 \log ^2(c x)-\frac {1}{2} \int x^3 \log (c x) \, dx\\ &=\frac {x^4}{32}-\frac {1}{8} x^4 \log (c x)+\frac {1}{4} x^4 \log ^2(c x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 32, normalized size = 1.00 \[ \frac {1}{4} x^4 \log ^2(c x)-\frac {1}{8} x^4 \log (c x)+\frac {x^4}{32} \]

Antiderivative was successfully verified.

[In]

Integrate[x^3*Log[c*x]^2,x]

[Out]

x^4/32 - (x^4*Log[c*x])/8 + (x^4*Log[c*x]^2)/4

________________________________________________________________________________________

fricas [A]  time = 0.39, size = 26, normalized size = 0.81 \[ \frac {1}{4} \, x^{4} \log \left (c x\right )^{2} - \frac {1}{8} \, x^{4} \log \left (c x\right ) + \frac {1}{32} \, x^{4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*log(c*x)^2,x, algorithm="fricas")

[Out]

1/4*x^4*log(c*x)^2 - 1/8*x^4*log(c*x) + 1/32*x^4

________________________________________________________________________________________

giac [A]  time = 0.21, size = 26, normalized size = 0.81 \[ \frac {1}{4} \, x^{4} \log \left (c x\right )^{2} - \frac {1}{8} \, x^{4} \log \left (c x\right ) + \frac {1}{32} \, x^{4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*log(c*x)^2,x, algorithm="giac")

[Out]

1/4*x^4*log(c*x)^2 - 1/8*x^4*log(c*x) + 1/32*x^4

________________________________________________________________________________________

maple [A]  time = 0.03, size = 27, normalized size = 0.84 \[ \frac {x^{4} \ln \left (c x \right )^{2}}{4}-\frac {x^{4} \ln \left (c x \right )}{8}+\frac {x^{4}}{32} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3*ln(c*x)^2,x)

[Out]

1/32*x^4-1/8*x^4*ln(c*x)+1/4*x^4*ln(c*x)^2

________________________________________________________________________________________

maxima [A]  time = 0.60, size = 21, normalized size = 0.66 \[ \frac {1}{32} \, {\left (8 \, \log \left (c x\right )^{2} - 4 \, \log \left (c x\right ) + 1\right )} x^{4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*log(c*x)^2,x, algorithm="maxima")

[Out]

1/32*(8*log(c*x)^2 - 4*log(c*x) + 1)*x^4

________________________________________________________________________________________

mupad [B]  time = 3.60, size = 21, normalized size = 0.66 \[ \frac {x^4\,\left (8\,{\ln \left (c\,x\right )}^2-4\,\ln \left (c\,x\right )+1\right )}{32} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3*log(c*x)^2,x)

[Out]

(x^4*(8*log(c*x)^2 - 4*log(c*x) + 1))/32

________________________________________________________________________________________

sympy [A]  time = 0.12, size = 26, normalized size = 0.81 \[ \frac {x^{4} \log {\left (c x \right )}^{2}}{4} - \frac {x^{4} \log {\left (c x \right )}}{8} + \frac {x^{4}}{32} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**3*ln(c*x)**2,x)

[Out]

x**4*log(c*x)**2/4 - x**4*log(c*x)/8 + x**4/32

________________________________________________________________________________________